
import React from 'react';
import {connect} from 'react-redux'
class Com2 extends React.Component {
    render() {
        return <div className='' style={{color:this.props.col}}>
            {this.props.qqq}
        </div>;
    }
}
Com2 = connect((state)=>{
  return {
    qqq:state.qqq.count,
    col:state.www.color
  }
})(Com2)
export default Com2
